/*
 * Copyright (c) zero. 2022-2023. All rights reserved.
 *
 */

package json.testBean;

import com.fasterxml.jackson.annotation.JsonSetter;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import lombok.Data;

@Data
public class MyBean {
    public int id;
    @JsonDeserialize
    private String name;
    @JsonSetter("myName")
    public void setTheName(String name) {
        this.name = name;
    }
}
